public class Text3 {
    public static void main(String[] args) {
        int [] arr = {1,5,9,33,55,};
        boolean flag = contains(arr,33);
        System.out.println(flag);

    }
    public static boolean contains(int [] arr,int number){
        for (int i = 0; i < arr.length; i++) {
            if(arr[i] == number){
                return true;
            }
        }
        return false;
    }
}
